package com.test.factory.abstractfactory;

//具体工厂, 以产品维度创建具体工厂
public class AFactory implements AbstractFactory{
    @Override
    public Cpu createCpu() {
        return new ACpu();
    }
    @Override
    public Mainboard createMainboard() {
        return new AMainboard();
    }
}
